﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace ControleAtendimentoMedico.DAL
{
    interface IDAL<T, TK>
    {
        List<T> SelectAllList();
        DataTable SelectAllDt();
        T SelectById(TK id);
        T SelectAllDt();
        
        int SelectCount();

        TK Insert(T obj);
        void Update(TK id, T obj);

        void Delete(TK id);

    }
}
